|
PHY SET MATERIAL RESTITUTION
Set the restitution property of a material.
PHY SET MATERIAL RESTITUTION ID, value#
ID
Integer
ID number of the material
value#
Float
the new level of restitution
The restitution of an object is used to determine how energy is lost. The lower the restitution, the more energy is lost and less it will rebound from an impact whereas a higher level of restitution means less energy is lost and the more it will reflect from an impact.
No example code is provided for this command
|